package BC116_小乐乐改数字;

import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();

        String str = String.valueOf(n);

        StringBuilder newString = new StringBuilder();
        for (int i = 0; i < str.length(); i++){
            int m = Integer.parseInt(String.valueOf(str.charAt(i))) % 2;
            newString.append(m);
        }


        System.out.println(Integer.valueOf(String.valueOf(newString)));

    }
}
